\hypertarget{class_inject}{\section{Inject Class Reference}
\label{class_inject}\index{Inject@{Inject}}
}


The {\ttfamily \mbox{[}\hyperlink{class_inject}{Inject}\mbox{]}} attribute marks a setter Injection point.  


Inheritance diagram for Inject\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{class_inject}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_inject_ad157d14fd18b041da3a751ee41161aef}{{\bfseries Inject} (object n)}\label{class_inject_ad157d14fd18b041da3a751ee41161aef}

\end{DoxyCompactItemize}
\subsection*{Properties}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_inject_af269f593cee42918b948497e4dfb3a3d}{object {\bfseries name}\hspace{0.3cm}{\ttfamily  \mbox{[}get, set\mbox{]}}}\label{class_inject_af269f593cee42918b948497e4dfb3a3d}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
The {\ttfamily \mbox{[}\hyperlink{class_inject}{Inject}\mbox{]}} attribute marks a setter Injection point. 

Example\-: \begin{DoxyVerb}[Inject]
public IMyInterface myInstance{get;set;}
\end{DoxyVerb}


\hyperlink{class_inject}{Inject} tags can also specify a name\-:

\begin{DoxyVerb}[Inject(SomeEnum.VALUE)]
public IMyInterface myInstance{get;set;}\end{DoxyVerb}
 

The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
Strange\-Io\-C/scripts/strange/extensions/injector/Inject\-Attribute.\-cs\end{DoxyCompactItemize}
